Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CyclesOptions : Remove samplingPattern #5726

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

johnhaddon
Copy link
Member

This is a debug-level field in Blender, so it's more appropriate to hide it while allowing a power user to specify it via CustomOptions. Moreover, the presets values we had were out of date and completely non-functional.

I've also verified that Cycles' standalone default of SAMPLING_PATTERN_TABULATED_SOBOL matches Blenders's UI default, so when Gaffer doesn't specify anything, we are getting the intended sampling pattern.

This is a debug-level field in Blender, so it's more appropriate to hide it while allowing a power user to specify it via CustomOptions. Moreover, the presets values we had were out of date and completely non-functional.

I've also verified that [Cycles' standalone default](https://github.com/blender/cycles/blob/v4.0.2/src/scene/integrator.cpp#L127) of `SAMPLING_PATTERN_TABULATED_SOBOL` matches [Blenders's UI default](), so when Gaffer doesn't specify anything, we are getting the intended sampling pattern.
@johnhaddon johnhaddon self-assigned this Mar 12, 2024
Copy link
Contributor

@murraystevenson murraystevenson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for confirming the defaults are matching.

@johnhaddon johnhaddon merged commit bf664f9 into GafferHQ:main Mar 12, 2024
5 checks passed
@johnhaddon johnhaddon deleted the cyclesRemoveSamplingPattern branch March 15, 2024 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants